package cn.stylefeng.guns.modular.business.frequency.orderpayrecord.service;

import cn.stylefeng.guns.core.pojo.page.PageResult;
import cn.stylefeng.guns.modular.business.frequency.orderpayrecord.entity.OrderPayRecord;
import cn.stylefeng.guns.modular.business.frequency.orderpayrecord.model.param.OrderPayRecordParam;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * tt_order_pay_record 服务类
 *
 * @author yujie
 * @date 2023/05/09 17:16
 */
public interface OrderPayRecordService extends IService<OrderPayRecord> {

    /**
     * 分页查询tt_order_pay_record
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    PageResult<OrderPayRecord> page(OrderPayRecordParam orderPayRecordParam);

    /**
     * 查询所有tt_order_pay_record
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    List<OrderPayRecord> list(OrderPayRecordParam orderPayRecordParam);

    /**
     * 添加tt_order_pay_record
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void add(OrderPayRecordParam orderPayRecordParam);

    /**
     * 删除tt_order_pay_record
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void delete(OrderPayRecordParam orderPayRecordParam);

    /**
     * 编辑tt_order_pay_record
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void edit(OrderPayRecordParam orderPayRecordParam);

    /**
     * 查看详情tt_order_pay_record
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    OrderPayRecord detail(OrderPayRecordParam orderPayRecordParam);

    /**
     * 修改状态（字典 0正常 1停用 2删除）
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void changeStatus(OrderPayRecordParam orderPayRecordParam);

}